package com.ddxcloud.movie.service;

import com.ddxcloud.movie.dto.RefundDTO;
import com.github.binarywang.wxpay.bean.result.WxPayRefundV3Result;
import com.github.binarywang.wxpay.exception.WxPayException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

public interface WechatRefundService {

    WxPayRefundV3Result createOrder(RefundDTO dto, HttpServletRequest request);

    Map<String, String> notify(HttpServletRequest request, HttpServletResponse response) throws WxPayException, IOException;
}
